package com.hanma.bean;

public class Record {
    private Integer id;
    private Integer uid;
    private Integer nid;
    private String title;

    public Record() {
    }

    public Record(Integer uid, Integer nid, String title) {
        this.uid = uid;
        this.nid = nid;
        this.title = title;
    }

    public Record(Integer id, Integer uid, Integer nid, String title) {
        this.id = id;
        this.uid = uid;
        this.nid = nid;
        this.title = title;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getNid() {
        return nid;
    }

    public void setNid(Integer nid) {
        this.nid = nid;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    @Override
    public String toString() {
        return "record{" +
                "id=" + id +
                ", uid=" + uid +
                ", nid=" + nid +
                ", title='" + title + '\'' +
                '}';
    }
}
